package com.woniuxy.springbootpro.mapper;

import com.woniuxy.springbootpro.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {

    List<Role> findAll();

    int deleteByPrimaryKey(Integer jid);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer jid);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}